<%@page pageEncoding="utf-8" contentType="text/html; charset=utf-8" %>
<%
	HashList leftMenuList 	= homeDao.selectGolfMenuList();
%>
<td width="235" valign="top">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td align="left"><img src="../images/sub/<%= pmenu_id %>_title.gif"   /></td>
          </tr>
          <tr>
            <td height="45"></td>
          </tr>
     	<%
     		String className = "";
     		String mainPath = "";
     		for (int i = 0; i < leftMenuList.size(); i++) {
     			if (golf_id.equals(leftMenuList.get("menu_id",i))) {
     				className = "leftmenu_list_on";
     				menu_name = leftMenuList.get("menu_name", i);
     			} else {
     				className = "leftmenu_list_off";
     			}

     			if (leftMenuList.get("main_path",i).indexOf("?") > -1) {
     				mainPath = leftMenuList.get("main_path",i) + "&pmenu_id=" + pmenu_id;
     			} else {
     				mainPath = leftMenuList.get("main_path",i) + "?pmenu_id=" + pmenu_id;
     			}
     	%>
              <tr>
                <td height="1" bgcolor="#dddddd"></td>
              </tr>

              <tr>
             	<td align="left" height="43" class="<%= className %>">
                	<a href="<%= mainPath %>"><%= leftMenuList.get("menu_name",i) %></a>
                </td>
              </tr>
      	<%	} %>
              <tr>
                <td height="1" bgcolor="#dddddd"></td>
              </tr>
          <tr>
            <td height="12"></td>
          </tr>
	              <tr>
	                <td><a href="/home/reqWrite.jsp?pmenu_id=09&menu_id=29"><img src="../images/sub/left_banner_01.gif" alt="견적의뢰" /></a></td>
	              </tr>
	              <tr>
	                <td><a href="/home/reservation.jsp?pmenu_id=09&menu_id=30"><img src="../images/sub/left_banner_02.gif" alt="바로예약하기"  /></a></td>
	              </tr>
	              <tr>
	              	<td><a href="/home/login.jsp?pmenu_id=09&menu_id=31"><img src="../images/sub/left_banner_03.gif" alt="견적 및 예약확인하기"  /></a></td>
	              </tr>
          <tr>
            <td height="15"></td>
          </tr>
          <tr>
            <td align="left"><img src="../images/sub/sub_info_01.gif" alt="하와이 현지 데스크 안내" /></td>
          </tr>
          <tr>
            <td align="left" style="padding-top:15px"><img src="../images/sub/sub_info_02.gif" alt="한국 사무소 안내"  /></td>
          </tr>
          <tr>
            <td align="left" style="padding-top:15px"><a href="http://cafe.naver.com/goodhawaii" target="_blank"><img src="../images/sub/sub_info_03.gif" alt="네이버 카페"  /></a></td>
          </tr>
          <tr height="30px"><td></td></tr>
        </table></td>